Part Number Hot Search : 
22200 80007 HFM203A RNA52 HMC637 0A24C150 1722IS5 S0400
Product Description
Full Text Search
 

To Download SC73P1601 Datasheet File

  If you can't view the Datasheet, Please click here to try to view without PDF Reader .  
 
 


  Datasheet File OCR Text:
  SC73P1601 hangzhou?silan?microelectronics?co.,ltd ?rev:1.4???????2009.08.03 http:?www.silan.com.cn ??????????????????????????????????????????????????????????????????????????????????????????????????????????????????????page?1?of?22 4-bit?mcu?for?remote?controller(otp?type) description SC73P1601? is? one? of? silan?s? 4-bit? cmos? single-chip? micro- controllers?for?infrared?remote?control?transmitters?(ircts).?it?can?be implemented? in? various? ircts? circuits? by? otp? program.? and? it? is compatible?with?sc73c1602?on?software?and?package. features * wide? operating? voltage? (2.0~4.0v),? and? low? static? power consumption?(<1 m a) *?otp:?1k?x?9?bits *?ram:?16?x?4bits *?timer/counter:?(10~15?bits) *? 8-bit? timer,? generates? various? carrier? frequencies? and? out puts carrier?duty *? 16?i/o?pins,?four?4-bit? programmable?i/o? ports?(except p50?and p53) *??oscillator?frequency?(f osc ):?f osc =4mhz(typ.) *?operating?frequency:?f main =f osc /8 *?instruction?cycle:?5/fmain *?support?low?voltage?detection ssop-20-300-0.65 sop-20-300-1.27 ssop-20-225-0.65 sop-20-375-1.27 applications *?infrared?remote?control?device *?tv?controller *?video?cassette?recorder?controller *?vtr,?laser?phonograph?and?acoustics remote?controller ordering?formation part?no. package marking material package?type SC73P1601m ssop-20-300-0.65 SC73P1601m pb?free tube SC73P1601mtr ssop-20-300-0.65 SC73P1601m pb?free tape?&?reel SC73P1601ma sop-20-300-1.27 SC73P1601ma pb?free tube SC73P1601matr sop-20-300-1.27 SC73P1601ma pb?free tape?&?reel SC73P1601mc ssop-20-225-0.65 SC73P1601mc pb?free tube SC73P1601mctr ssop-20-225-0.65 SC73P1601mc pb?free tape?&?reel SC73P1601md sop-20-375-1.27 SC73P1601md pb?free tube SC73P1601mdtr sop-20-375-1.27 SC73P1601md pb?free tape?&?reel SC73P1601mg ssop-20-300-0.65 SC73P1601mg halogen?free tube SC73P1601mgtr ssop-20-300-0.65 SC73P1601mg halogen?free tape?&?reel
SC73P1601 hangzhou?silan?microelectronics?co.,ltd ?rev:1.4???????2009.08.03 http:?www.silan.com.cn ??????????????????????????????????????????????????????????????????????????????????????????????????????????????????????page?2?of?22 part?no. package marking material package?type SC73P1601mag sop-20-300-1.27 SC73P1601mag halogen?free tube SC73P1601magtr? sop-20-300-1.27 SC73P1601mag halogen?free tape?&?reel SC73P1601mcg ssop-20-225-0.65 SC73P1601mcg halogen?free tube SC73P1601mcgtr? ssop-20-225-0.65 SC73P1601mcg halogen?free tape?&?reel SC73P1601mdg sop-20-375-1.27 SC73P1601mdg halogen?free tube SC73P1601mdgtr? sop-20-375-1.27 SC73P1601mdg halogen?free tape?&?reel block?diagram absolute?maximum?ratings ?(otherwise?specified,?t amb =25 c) characteristics symbol rating unit supply?voltage v dd -0.3?~?+5.0 v input?voltage v in -0.3~v dd +0.3 v output?current i out?(p53) -9 ma power?dissipation p d 500 mw storage?temperature t stg -40~+125 c operating?temperature t opr -20~+75 c electrical?characteristics ?(t amb =25 c,?v dd =3.0v) characteristics symbol test?conditions min. typ. max. unit power?supply v dd ? in?all?the?functions 2 -- 4 v power?reset v poc ? in?all?the?functions 1.4 1.6 v operating?current i dd in?operating?mode -- -- 1.0 ma oscillation?frequency f osc ? in?operating?mode 2m 4m 6m hz
SC73P1601 hangzhou?silan?microelectronics?co.,ltd ?rev:1.4???????2009.08.03 http:?www.silan.com.cn ??????????????????????????????????????????????????????????????????????????????????????????????????????????????????????page?3?of?22 characteristics symbol test?conditions min. typ. max. unit quiescent?current i ds oscillator?stops -- -- 1 m a p50 50 60 70 k w input?pull-down?resistor r v dd =3v p00-p03 p10-p13 p20-p23 p51-p52 60 75 90 k w input?high?level?voltage v ih -- 0.7v dd -- v dd v input?low?level?voltage v il -- 0 -- 0.3v dd v p53 -- -9.0 -- output?high?level?current i oh v dd =3v v oh =2.7v p00-p03 p10-p13 p20-p23 p51-p52 -- -0.8 -- ma p53 -- 10.8 -- output?low?level?current i ol v dd =3v v ol =0.3v p00-p03 p10-p13 p20-p23 p51-p52 -- -- 0.17 ma pin?configurations 1. normal?working?mode 2. eprom?programming?mode s c 7 3 p 1 6 0 1 m / m a / m c / m d
SC73P1601 hangzhou?silan?microelectronics?co.,ltd ?rev:1.4???????2009.08.03 http:?www.silan.com.cn ??????????????????????????????????????????????????????????????????????????????????????????????????????????????????????page?4?of?22 pin?descriptions normal?mode symbol description v dd power?supply?(2.0v~4.0v) gnd ground xt1 oscillator?output?pin xt2 oscillator?input?pin p00~p03 4-bit?i/o?pin. in?input?mode,?it?is?used?as?the?keyboard-scan?input?port?(with?internal?pull-down?resistor). in?output?mode,?it?is?used?as?the?keyboard-scan?output?port. p10~p13 4-bit?i/o?pin. in?input?mode,?it?is?used?as?the?keyboard-scan?input?port?(with?internal?pull-down?resistor). in?output?mode,?it?is?used?as?the?keyboard-scan?output?port. p20~p23 4-bit?i/o?pin. in?input?mode,?it?is?used?as?the?keyboard-scan?input?port?(with?internal?pull-down?resistor). in?output?mode,?it?is?used?as?the?keyboard-scan?output?port. p50 1-bit?input?pin?with?pull-down?resistor,?used?for?keyboard-scan?input. p51 1-bit?i/o?pin. in?input?mode,?it?is?used?as?the?keyboard-scan?input?port?(with?internal?pull-down?resistor). in?output?mode,?it?is?used?as?the?keyboard-scan?output?port. p52 1-bit?i/o?pin. in?input?mode,?it?is?used?as?the?keyboard-scan?input?port?(with?internal?pull-down?resistor). in?output?mode,?it?is?used?as?the?keyboard-scan?output?port, p53 outputs?remote?control?signal?with?carrier?or?without?carrier. programming?mode: symbol description d0-d8 9-bit?data?when?eprom?write?in/?verify otp_clk address?increment?clock?when?eprom?write?in/?verify ceb eprom?program?enable,?and?high?active oeb eprom?output?enable,?and?high?active progb eprom?program?enable,?and?high?active v dd power?supply?of?+6.5?v gnd ground vpp in?program?mode,?provide?12.5v?to?this?pin otp_res clear?eprom?address?pointer,?and?high?active
SC73P1601 hangzhou?silan?microelectronics?co.,ltd ?rev:1.4???????2009.08.03 http:?www.silan.com.cn ??????????????????????????????????????????????????????????????????????????????????????????????????????????????????????page?5?of?22 program?time?sequence: performance?characteristics symbol condition min. typ. max. unit setup?time?of??oeb? t oes 1 - - s setup?time?of??ceb? t cs 1 - - s setup?time?of??d[8:0]? t ds 1 - - s hold?time?of??ceb? t ch 1 - - s hold?time?of??d[8:0]? t dh 1 - - s setup?time?of??v pp ? t vps 1 - - s setup?time?of??v dd ? t vds 1 - - s pulse?width?of??progb? t pw 200 300 - s function?description SC73P1601? includes? 4-bit? mcu,? outlay? oscillator,? system? reset? module.? next? we? will? mainly? introduce? the functions. 1. pc pc?refers?to?the?program?address?pointer,?10?bits.?the?maximum?addressing?space?is?1k?rom?.the?program counter?contains?the?address?of?the?instruction?that?will?be?executed?next.?the?pc?value?is?cleared?to?0?after?reset. the?pc?is?set?to?predefined?value?when?one?of?the?3?following?occasions?occurs:?1)?when?the?jump?instruction?is executed;? 2)?when?a?subroutine?call?is?back;?3)?when?a?program?call?is?back.?in?the?SC73P1601,?all?instructions are?one-byte?instructions,?pc?increments?by?1?each?time?an?instruction?is?executed.
SC73P1601 hangzhou?silan?microelectronics?co.,ltd ?rev:1.4???????2009.08.03 http:?www.silan.com.cn ??????????????????????????????????????????????????????????????????????????????????????????????????????????????????????page?6?of?22 2. mbr memory? buffer? register? (mbr)? is? write-only,? higher? 4-bit? of? the? program? pointer.? the? eprom? of? SC73P1601 can? be? divided?into? 8? blocks.? each? block?is? 128? bytes.? the?8? blocks? can?be? addressed? by?the? mbr.?when?the program?starts?executing?a?branch?instruction,?it?must?load?the?corresponding?value?to?the?mbr?register,?and?then executes?the?command?bss?label. 3. stack stack?register?stores?the?previous?value?of?program?pointer?during?execution?of?subroutine?calls,?11?bits.?there is?two-level?hardware?stack?register,?so?two-level?programs?can?be?called.?when?the?user?tries?to?make?more?than two-level?program?call,?an?error?will?occur. 4. b,?h,?d referred?to?as?the?pointer?to?data?table.?bhd?are?separately?2?bits,?4?bits?and?4?bits.?the?1k?eprom?space?of SC73P1601??can?be?used?as?the?data?table?which?can?be?diplex?with?program?space.?when?addressing?the?fixed data? of? eprom,? the? registers? act? as? the? pointers? to? the? data? table? (to? form? the? eprom? address? according? to bhd?order).?in?other?cases,?the?h,?d?registers?can?be?used?as?general?purpose?registers.?fixed?data?stored?in?the data?table?can?be?addressed?by?the?transmit?instructions.?when?executing?the?transmit-instructions,?the?program will? look? for? the? data? from? the? correspond? space? of? eprom.? the? low? 10? bits? address? of? the? eprom? are composed?of?two?lower?bits?of?b?,?four?bits?of??h?and?four?bits?of?d. when? the?most?significant? bit? is?1,? p53? transmits?the? data? with?carrier;? while? the?most? significant? bit? is? 0,? p53 transmits?the?data?without?carrier.?the?second?bit?of?b?is?of?no?real?use,?and?it?is?set??0?by?the?software?at?program imitation. 5. prom address 1k?x?9bits 000h 001h 002h 01fh subroutine?call?start?address 020h 3ffh normal?program?area (can?be?duplex?as?data?table) 6. ch0 ch1 cl0 cl1 ch0,? ch1,? cl0,? cl1? are? carrier? high? and?low?level? control?registers,? which? can? control?the? high-low?level? of carrier?is?(ch 1)/fosc?and(cl 1)/fosc.
SC73P1601 hangzhou?silan?microelectronics?co.,ltd ?rev:1.4???????2009.08.03 http:?www.silan.com.cn ??????????????????????????????????????????????????????????????????????????????????????????????????????????????????????page?7?of?22 7. ll,?lh ll?register,?4?bits,?lh?register,?bit.?ll[3:0]?is?the?address?pointer?of?ram,?and?is?used?as?the?general-purpose register?at?the?same?time. lh?register,?4?bits,?used?as?the?general-purpose?register. 8. ram data?memory?consists?of?16x4?bits?and?is?used?to?store?temporary?data?and?results?after?a?program?is?executed. it?can?address?the?entire?ram?areas?by?the?pointer? ll[3:0].??when?reset,?the?contents?of?ram?are?not?defined. we?recommend?users?to?initialize?it?at?the?beginning?of?their?software?program. 9. alu the? arithmetic? and? logic? unit? plays? a? leading? role? in? performing? various? operations? of? 4-bit? binaries.? the operation?of?alu?will?change?the?carry?flag?(cf)?and?the?zero?flag(zf). 10. acc 4-bit?accumulator,?which?is?in?the?alu.?it?is?mostly?used?to?store?data?and?results. 11. cf carry?flag. 12. sf status?flag?bit,?the?value?of?sf?is?1?after?reset. 13. pr?(pr,?pr2) the?port?mode?register,?which?specifies?the?input?mode?or?output?mode?of?the?i/o?port,?is?4-bit?write-only.?when the?value?is?1,?the?corresponding?port?is?set?to?output?mode.?pr=0,?it?is?set?to?input?mode.?the?execution?of?the hold?instruction? won?t?affect?the?i/o?modes?of?operation.?when?reset,?the?initialization?value?is?0000b,?and?the port?is?in?input?mode. p52?mode?select pr2.2 pr2.1 pr2.0 p51?mode?select p50?mode?select --
SC73P1601 hangzhou?silan?microelectronics?co.,ltd ?rev:1.4???????2009.08.03 http:?www.silan.com.cn ??????????????????????????????????????????????????????????????????????????????????????????????????????????????????????page?8?of?22 14. port SC73P1601?has?4?groups?of?i/o?ports,?totally?20?pins.?each?group?can?operate?in?both?input?and?output?mode (except?p50?and?p53,?p50?is?only?input?port,?p53?is?only?output?port).?details?are?as?follows: p0?port:?p00-p03,?4-bit?input/output?port.?the?pr?determines?the?port?operation?mode.?in?input?mode,?it?has?an internal?pull-down?resistor? and?can?be?used?for?keyboard? scan?input.?when?the?input?level?is?high,? it can?release?the?hold?mode.?in?output?mode,?it?can?be?used?for?keyboard?scan?output. p1?port:?p10-p13,?same?as?p0?port; p2?port:?p20-p23,?same?as?p0?port; p5?port:?p50-p53 p50:?only?as?input?pin?with?pull-down?resistor?used?for?keyboard?scan?input.?when?input?high?level,?the hold?state?is?unlocked. p51:?the?configuration?same?as?p00; p52:?the?configuration?same?as?p00; p53:?large?current?output?port,?this?pin?is?used?to?output?infrared?remote?signal.?if?p53?is?set?to?1,?this pin? outputs?modulated? signal? with? carrier? or? high?level? signal.?if? it? is? set?to? 0,? it? outputs? low?level voltage. 15. timer/counter SC73P1601?has?two?internal?timers: one?is?a?17-bit?timer.?the?clock?source?of?the?timer?is?main?frequency? (fmain)?of?the?circuit.?there?are?timing steps?from?10? (which? generates? pulses? with?frequency?fmain/210)? to?15? (fmain/215).? the?timer? can? output? pulse frequency?ranging?from?fmain/210?to?fmain/215,?and?can?be?used?for?timer?after?releasing?the?hold?mode.?it?can also? be? used? as? a?wdt.? after? the? hold?mode? released? and? the?timer? reset? instruction? tmrst? executed,? the timer?value?is?cleared. the? other? timer? is? a? carrier? generator.? setting? different? length? of? high? and? low? level? time? span? respectively through?programming,?it?generates?various?different?duty?and?frequency?carriers. 16. tr timer? register,? it? selects? the? status? of? the? timer? mode,? use? the? instruction? ld? tm,? a? to? write? the? data. SC73P1601? uses?the? instruction? ld? a,? tm? or? ld?@lr,? tm? to? read? the? status? of? timer;? tm?to? read?the? timing value.?for?example: 3 ??ibns tr?timer?register ??tibs 2 1 0 17. ibns the?control?bit?of?the?read?timer.?when?the?value?is?0,?it?reads?tm3?(it3),?and?it2~it0?become?0.?when?the?value is?1,?it?reads?4-bit?data?tm3~tm0(it3~it0). tm3:??2 15 /fmain tm2:?2 14 /fmain tm1:??2 13 /fmain tm0:??2 12 /fmain
SC73P1601 hangzhou?silan?microelectronics?co.,ltd ?rev:1.4???????2009.08.03 http:?www.silan.com.cn ??????????????????????????????????????????????????????????????????????????????????????????????????????????????????????page?9?of?22 example:?when?the?crystal?oscillator?select?455khz,??the?corresponding?time?of?port?p50??is?2 12 455 9ms.?this means?the?time?from?tm=1111b?to?1101?is?9ms,?and?the?time?from?tm=1111b?to?1110?is?4.5ms.see?the?following program: ld a#1000b ld tm,a tmrst ?? ld l,#temp ld @ll,#1110b loop: ld a,tm xor a,@ll jmps loop end in?above?program,?the?time?from?tmrst?start?to?end?is?4.5ms,??that?it?from?tm=1111b?to?1110b?is?4.5ms.. time?change?: 4.5ms 9ms 18ms 9ms 36ms 18ms 36ms 9ms the?maximum?adjustable?time?of?the?timer?is?2 16 /fmain.?when?the?timer?acts?as?a?wdt?and?the?timer?is?activated, it? must? execute? the? tmrst?instruction? and? clear?the?timer? in? 2 16 /fmain?s?time,?otherwise,?it?will?lead?the?wdt?to overflow,?and?causes?the?mcu?to?reset. 18. poc?circuit the?poc?circuit?monitors?the?power?supply?voltage?and?applies?an?internal?reset?to?the?micro-controller. the?poc?circuit?has?the?following?functions: ??generates?an?internal?reset?signal?when?v dd ?v poc . here,?v dd :?power?supply?voltage. vpoc :?poc?detection?voltage. v dd 3.6v 2.0v 0v internal?reset?signal reset note?1 note?2 operation?mode operating?ambient?temperature?t amb =-20 c~+75 c poc?detection?voltage?v poc =1.4v~1.6v v poc
SC73P1601 hangzhou?silan?microelectronics?co.,ltd ?rev:1.4???????2009.08.03 http:?www.silan.com.cn ??????????????????????????????????????????????????????????????????????????????????????????????????????????????????????page?10?of?22 notes.? 1.? after? the? circuit? is? power? on,? there? is? a? short? oscillation? stabilization? wait? time? before? the? circuit? is? in operation?mode.?the?oscillation?stabilization?wait?time?is?about?2 16 /fmain. 2.? the? poc? circuit? generates? an? internal? reset? signal? when? the? power? supply? voltage? has? fallen? to? a certain?value?in?working?mode. 19. instruction?cycle instructions?and?internal?operations?are?executed?in?synchronization?with?the?main?clock.?the?minimum?time?of carrying? out? a? complete? instruction? is? called? the? instruction? cycle.? SC73P1601? has? 1? and? 2-cycle? two? kind? of instructions. an?instruction?cycle?consists?of?5?states?(stclk1?to?stclk5).?each?state?consists?of?1?main?clock.?therefore, the?instruction?cycle?time?is?5/fmain?[s].
SC73P1601 hangzhou?silan?microelectronics?co.,ltd ?rev:1.4???????2009.08.03 http:?www.silan.com.cn ??????????????????????????????????????????????????????????????????????????????????????????????????????????????????????page?11?of?22 instruction?sets 1.?transmit?instruction instruction operation cf sf cycle ld?a,?ll a ? ?ll --- 1 2 ld?a,?b a ? ?b ???--- 1 2 ld?a,?h a ? ?h --- 1 2 ld?a,?d a ? ?d --- 1 2 ld?a,?@ll a ? ?ram(ll) --- 1 1 ld?a,?#k a ? ?k --- 1 1 ld?cl1,?a cl1 ? ?a --- 1 2 ld?cl0,?a cl0 ? ?a --- 1 2 ld?ch1,?a ch1 ? ?a --- 1 2 ld?ch0,?a ch0 ? ?a --- 1 2 ldh?a,?@bd a ? ?rom(bd)7-4 --- 1 2 ldl?a,?@bd a ? ?rom(bd)3-0 --- 1 2 lds?a,?@bd a ? ?rom(bd)8 --- 1 2 ldh?@ll,?@bd ram(ll) ? ?rom(bd)7-4 --- 1 2 ldl?@ll,?@bd ram(ll) ? ?rom(bd)3-0 --- 1 2 lds?@ll,?@bd ram(ll) ? ?rom(bd)8 --- 1 2 ld?ll,?a ll ? ?a --- 1 2 ld?ll,?#k ll ? ?k --- 1 1 ld?@ll,?a ram(ll) ? ?a --- 1 1 ld?@ll,?#k ram(ll) ? ?k --- 1 1 ld?d,?a d ? ?a --- 1 2 ld?h,?a h ? ?a --- 1 2 ld?b,?a b ? ?a --- 1 2 ld?pr,?a pr ? ?a --- 1 2 ld?pr2,?a pr2 ? ?a --- 1 2 ld?tm,?a tm ? ?a --- 1 2 ld?a,?tm a ? ?tm --- 1 2 1 ld?a,?ll load?values?in?the?ll?register?to?the?accumulator. 2 ld?a,?d load?values?in?the?d?register?to?the?accumulator. 3 ld?a,?h load?values?in?the?h?register?to?the?accumulator. 4 ld?a,?b load?values?in?the?b?register?to?the?accumulator. 5 ld?a,?@ll load?the?contents?of?ram?pointed?at?by?the?ll?(?ll?&?lh)?register?to?accumulator. 6 ld?a,?#k load?the?4?bit?immediate?k?to?accumulator. 7 ldl?a,?@bd load?the?lower?4?bit?of?rom?data?pointed?at?by?the?bhd?to?accumulator. 8 ldh?a,?@bd load?the?higher?4?bit?of?rom?data?pointed?at?by?the?bhd?to?accumulator. 9 lds?a,?@bd load?the?highest?1?bit?of?rom?data?pointed?at?by?the?bhd?to?accumulator 10? ldl?@ll,?@bd? load?the?lower??4?bit?of?rom?data?pointed?at?by?the?bhd?to?ram?pointed?at?by?the ll?register.
SC73P1601 hangzhou?silan?microelectronics?co.,ltd ?rev:1.4???????2009.08.03 http:?www.silan.com.cn ??????????????????????????????????????????????????????????????????????????????????????????????????????????????????????page?12?of?22 11? ldh?@ll,?@bd load?the?higher??4?bit?of?rom?data?pointed?at?by?the?bhd?to?ram?pointed?at?by?the ll?register. 12? lds?@ll,?@bd load?the?highest?1?bit?of?rom?data?pointed?at?by?the?bhd?to?ram?pointed?at?by?the ll?register. 13? ld?ll,?a load?the?contents?of?the?accumulator?to?the?ll?register. 14? ld?lh,?a load?the?contents?of?the?accumulator?to?the?lh?register. 15? ld?ll,#k load?immediate?k?to?the?ll?register. 16? ld?@ll,?a load?the?content?of?the?accumulator?to?the?ram?pointed?at?by??the?ll?register. 17? ld?@ll,?#k load?the?immediate?k?to?ram?pointed?at?by??the?ll?register. 18? ld?d,?a load?the?content?of?the?accumulator?to?the?d?register. 19? ld?h,?a load?the?content?of?the?accumulator?to?the?h?register. 20? ld?b,?a load?the?content?of?the?accumulator?to?the?b?register. 21? ld?cl1,?a load?the?content?of?the?accumulator?to?the?cl1?register. 22? ld?cl0,?a load?the?content?of?the?accumulator?to?the?cl0?register. 23? ld?ch1,?a load?the?content?of?the?accumulator?to?the?ch1?register. 24? ld?ch0,?a load?the?content?of?the?accumulator?to?the?ch0?register. 25? ld?pr,?a load?the?content?of?the?accumulator?to?the?port?register(pr). 26? ld?pr2,?a load?the?content?of?the?accumulator?to?the?port?register(pr2). 27? ld?tm,?a load?the?content?of?the?accumulator?to?the?timer?register. 28? ld?a,?tm load?the?content?of?the?timer?register?to?the?accumulator. execution?the?above??transmit?instructions?will?not?affect?the?carry?flag,?and?the?status?flag?remains?1. 2.?input/output?instructions instruction operation cf sf cycle ld?a,?%p a ? ?port(p) --- /z 2 ld?@ll,?%p ram(ll) ? ?port(p) --- /z 2 ld?%p,?a port(p) ? ?a --- 1 2 ld?%p,?@ll port(p) ? ?ram(ll) --- 1 2 a. ld?a,?%p move?the?value?of?port(p)?to?the?accumulator b. ld?@ll,?%p move?the?value?of?port(p)?to?ram?pointed?at?by??the?ll?register. c.? ld?%p,?a move?the?contents?of?the?accumulator?to?port?(p). d. ld?%p,?@ll load?the?contents?of?ram?pointed?at?by??the?ll?register?to?port(p). the? above?four?input/output?instructions? are? used?mostly?for? port? operation,?the?two? read? instructions? will? affect the?status?flag?sf.
SC73P1601 hangzhou?silan?microelectronics?co.,ltd ?rev:1.4???????2009.08.03 http:?www.silan.com.cn ??????????????????????????????????????????????????????????????????????????????????????????????????????????????????????page?13?of?22 3.?arithmetic?and?logical?instructions instruction operation cf sf cycle add?a,?@ll a ? ?a+ram(ll) --- /c 1 addc?a,?@ll a ? ?a+ram(ll)+cf c /c 1 add?a,?#k a ? ?a+k --- /c 1 add?ll,?#k ll ? ?ll+k --- /c 2 subrc?a,?@ll a ? ?ram(ll)-a-/cf c c 1 inc?@ll ram(ll) ? ?ram(ll)+1 --- /c 1 dec?@ll ram(ll) ? ?ram(ll)-1 --- c 1 inc?ll ll ? ?ll+1 --- /c 2 dec?ll ll ? ?ll-1 --- c 2 inc?d d ? ?d+1 --- /c 2 inc?h h ? ?h+1 --- /c 2 inc?b b ? b+1 --- /c 2 dec?d d ? ?d-1 --- c 2 dec?h h ? ?h-1 --- c 2 dec?b b ? ?b-1 --- c 2 and?a,?@ll a ? ?a&ram(ll) --- /z 1 or?a,?@ll a ? ?a?|?ram(ll) --- /z 1 xor?a,?@ll a ? ?a^ram(ll) --- /z 1 1.? add?a,?@ll add?the?contents? of?ram?pointed?at?by?the?ll?to?accumulator,?store?the?sum?in?the acc.?this?operation?will?affect?sf,?sf=/cf. 2.? addc?a,?@ll add? the? contents? of? ram? pointed? at? by? the? ll? register? to? accumulator? with? carry. store??the?carry?bit?in?the?cf.?this?operation?will?affect?sf,?sf=/cf. 3.? add?a,#k add? immediate? k? to? accumulator.? store? the? sum? in? the? acc.? this? ? will? affect? sf, sf=/cf. 4.? add??l,#k add? immediate? k? to? the? ll? register.? store? the? sum? in? the? ll.? this? will? affect? sf, sf=/cf. 5.? subrc?a,?@ll subtract? instruction? with? borrow(the? complement? of? carry).?subtract? the? contents? of the?accumulator?from??the?contents?of?ram?pointed?at?by?the?ll?register,?subtract?the complement? of? the? carry? bit,? then? store? the? results? ? in? the? accumulator,? transfer? the carry?bit?to?the?cf,?this?will?affect?sf?and?cf,?sf=cf. 6.? inc?@ll increment? instruction.? increment? the? contents? of? ram? pointed? at? by? the? ll? register by?1.?this?will?affect?sf,?sf=/cf. 7.? dec?@ll decrement?instruction.?decrement?the?contents?of?ram?pointed?at?by?the?ll?register by?1.?this?will?affect?sf,?sf=cf. 8.? inc?d increment? instruction.? increment? the? contents? of? the? d? register? by? 1.? this? will? affect sf,?sf=/cf. 9.? inc?h increment? instruction.? increment?the?contents? of? the? h?register? by? 1.? ? this? will? affect sf,?sf=/cf. 10. inc?b increment?instruction.?increment?the?contents?of?the?b?register? by?1.??this?will?affect sf,?sf=/cf.
SC73P1601 hangzhou?silan?microelectronics?co.,ltd ?rev:1.4???????2009.08.03 http:?www.silan.com.cn ??????????????????????????????????????????????????????????????????????????????????????????????????????????????????????page?14?of?22 11. dec?d decrement?instruction.?decrement?the?contents?of?the?d?register?by?1.?this?will?affect sf,?sf=cf. 12. dec?h decrement?instruction.?decrement?the?contents?of?the?h?register?by?1.?this?will?affect sf,?sf=cf. 13. dec?b decrement?instruction.?decrement?the?contents?of?the?b?register?by?1.?this?will?affect sf,?sf=cf. 14. inc?ll increment?instruction.?increment?the?contents?of?the?ll?register?by?1.??this?will?affect sf,?sf=/cf. 15. dec?ll subtract?1?from?the?content?in?register?ll.?sf?is?affected,?sf=/cf. 16. and?a,?@ll the? contents? of? the? accumulator? and? ram? pointed? at? by? the? ll?register? are? anded and?the?results?are?stored?in?the?accumulator.?sf?changed,?sf=/z. 17. or?a,?@ll the? contents? of? the? accumulator? and? ram? pointed? at? by? the? ll? register? are? ored and?the?results?are?stored?in?the?accumulator.?sf?changed,?sf=/z. 18. xor?a,@ll the? contents? of? the? accumulator? and? ram? pointed? at? by?the? ll?register?are? xored and?the?results?are?stored?in?the?accumulator.?sf?changed,?sf=/z. 4.?bit?operation?instructions instruction operation cf sf cycle clr?@ll,?b ram(ll)b ? 0 --- 1 2 set?@ll,?b ram(ll)b ? 1 --- 1 2 test?@ll,?b sf ? /ram(ll)b --- * 2 a.? clr?@ll,?b clear?the?b-bit?of?the?ram?pointed?at?by?the?ll?register. b.? set?@ll,?b set?the?b-bit?of?the?ram??pointed?at?by?the?ll?register?to?be?1. c.? test?@ll,?b test?the?b-bit?of?the?ram?pointed?at?by?the?ll?register.?if?this?bit?is1,?the?sf?is?set?to 0;?otherwise,?the?sf?is?set?to?1. 5.?carry?operation?instructions instruction operation cf sf cycle clr?cf cf ? 0 0 1 2 set?cf cf ? 1 1 1 2 testp?cf sf ? cf --- * 1 a. clr?cf clear?the?carry?flag?to?logic?zero. b. set?cf set?the?carry?flag?to?logic?1. c. testp?cf test?the?carry?flag,?send?the?carry?flag?to?sf.
SC73P1601 hangzhou?silan?microelectronics?co.,ltd ?rev:1.4???????2009.08.03 http:?www.silan.com.cn ??????????????????????????????????????????????????????????????????????????????????????????????????????????????????????page?15?of?22 6.?branch?instructions instruction operation cf sf cycle bss?label --- 1 2 jmps?label --- 1 3 jump? instruction? is? active? only? when? sf? is? 1,? or? else? next? instruction? is? executed.? please? read? the pseudo- instruction?set ?for?details. bss?label?jump?to?destination?address?label?with?range?of?128?bytes jmps?label?jump?to?destination?address?label?with?range?of?2k?program. symbol?description?of?above?instructions: a. label destination?address?of?jump b. #k immediate?(0~15) c. b bit?addressing?(0~3) d. %p port?address 7.?subroutine?instructions instruction operation cf sf cycle calls?label --- --- 2 ret --- --- 2 when?executing?subroutine?call?and?return?instructions,?the?subroutine?starting?address?is?limited?from?000h?to 01fh. 8.?other?instructions instruction operation cf sf cycle hold --- 1 1 nop --- --- 1 tmrst reset?timer?counter --- --- 1 a. hold after? executing? this? instruction,? mcu? is? in? the? power?save? mode,? the? clock? stops oscillation?and?power?consumption?reduces?dramatically. b. nop null?operation.?it?doesn?t?affect?anything. c. tmrst timer?clear?command.?it?will?clear?all?values?of?the?timer?to?0.?this?instruction?is?often used?to?reset?wdt?in?program. 9.?pseudoinstruction org format: [label:]?org??address function: redefine?following?start?address expression: label:?selectable ???????address:?redefined?address,?can?be?binary,?decimal?or?hexadecimal. ???????redefined?address??is?an?absolute?address?which?could?not?be?returned?back.?that?is,?the?redefined?address
SC73P1601 hangzhou?silan?microelectronics?co.,ltd ?rev:1.4???????2009.08.03 http:?www.silan.com.cn ??????????????????????????????????????????????????????????????????????????????????????????????????????????????????????page?16?of?22 should?be?higher?than?that?above,?or?a?fault?is?occurred?during?compiling.?000h?is?defaulted?if?no?address?is?set?by org?instruction. example: org?0100h equ format: symbol?equ?digital function: define?a?digital?as?a?symbol.?symbol ?digital. expression: symbol??should?be?legal,?and?digital??should?be?binary,?decimal?or?hexadecimal.?there?is?no?colone?before equ?in?definition,?and?it?can?only?useful?after?the?definition. ?example: data1??equ?12h data2??equ?1001b ?db format: ?[label:]?[num]?db?data function: define?data?with?number?of?num. expression: ?label:?selectable ?num:?indicates?number?of?data,?default?value?is?1. ?data:?data?to?be?written?to?rom.?it?should?smaller?than?0x200?as?rom?is?only?9-bit.lower?9-bit?value?of?data is?taken?with?warning?if?it?is?more?than?0x200.(?only?lower?8-bit?is?taken?if?the?instruction?is?used?for?data?table) example: ?db??12h?????;?define?one?data ?db??10010b????;?define?one?data ?12h??db??55h???;?define?continuous?18?data ?jmps format: ?[label:]?jmps?address function: ?jump?in?rom. expression: ?label:?selectable address?can?be?a?digital,?symbol?defined?by?equ?or?the?address?symbol. combined?by: ld??mbr,?#k bss??label
SC73P1601 hangzhou?silan?microelectronics?co.,ltd ?rev:1.4???????2009.08.03 http:?www.silan.com.cn ??????????????????????????????????????????????????????????????????????????????????????????????????????????????????????page?17?of?22 ?the?instruction?is?2-byte?long,?and?it?can?jump?to?any?position?in?the?rom. example: ?jmps?main ?jmps?100h ?vent format: vent?label function: define?the?entry?and?reset?address?of?sub-program. expression: label?is?the?sub-program?name?or?the?address?symbol. use?vent?to?specify?the?entry?and?reset?address?of?the?sub-program,?and?it?must?be?at?the?beginning?of?the program.?the?first?vent?denotes?the?reset?address?and?the?following?vent?instructions?denote?the?entry?of?the sub-program.?in?general,?16?sub-programs?can?be?defined?at?most.?all?the?sub-programs?called?by?call instruction?should?be?defined?in?vent,?or?else?errors?will?occur?in?assembly. example: ?vent?main ?vent?sub1 ?vent?sub2 ??? ? ? ? .. ?org?100h main: ?nop ?nop ?calls?sub1 ?calls?sub2 ?? ? ? ? . ?sub1: ??? ? ? ? . ?sub2: ??? ? ? ? . end format: end function: use?the?end?instruction?to?end?the?assembly?of?a?program. expression: end?pseudoinstruction?ends?the?assembly?of?a?program?and?the?content?after?end?will?not?be?processed?by assembler.?if?end?is?omitted,?the?assembler?will?process?all?the?lines?of?the?source?file. example: end
SC73P1601 hangzhou?silan?microelectronics?co.,ltd ?rev:1.4???????2009.08.03 http:?www.silan.com.cn ??????????????????????????????????????????????????????????????????????????????????????????????????????????????????????page?18?of?22 remote?control?flow?chart:
SC73P1601 hangzhou?silan?microelectronics?co.,ltd ?rev:1.4???????2009.08.03 http:?www.silan.com.cn ??????????????????????????????????????????????????????????????????????????????????????????????????????????????????????page?19?of?22 typical?application?circuit s c 7 3 p 1 6 0 1
SC73P1601 hangzhou?silan?microelectronics?co.,ltd ?rev:1.4???????2009.08.03 http:?www.silan.com.cn ??????????????????????????????????????????????????????????????????????????????????????????????????????????????????????page?20?of?22 package?outline ssop-20-300-0.65???????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????unit:?mm sop-20-300-1.27 unit:?mm 12 . 70 0. 25 11 . 43 1. 27 0. 45 2. 25max 0. 15 0. 05
SC73P1601 hangzhou?silan?microelectronics?co.,ltd ?rev:1.4???????2009.08.03 http:?www.silan.com.cn ??????????????????????????????????????????????????????????????????????????????????????????????????????????????????????page?21?of?22 package?outline (continued) ssop-20-225-0.65 unit:?mm sop-20-375-1.27?????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????unit:?mm
SC73P1601 hangzhou?silan?microelectronics?co.,ltd ?rev:1.4???????2009.08.03 http:?www.silan.com.cn ??????????????????????????????????????????????????????????????????????????????????????????????????????????????????????page?22?of?22 mos?devices?operate?notes: electrostatic?charges?may?exist?in?many?things.?please?take?following?preventive?measures?to?prevent?effectively the?mos?electric?circuit?as?a?result?of?the?damage?which?is?caused?by?discharge: l ? the?operator?must?put?on?wrist?strap?which?should?be?earthed?to?against?electrostatic. l ? equipment?cases?should?be?earthed. ? l ? all?tools?used?during?assembly,?including?soldering?tools?and?solder?baths,?must?be?earthed. l ? mos?devices?should?be?packed?in?antistatic/conductive?containers?for?transportation. disclaimer: silan?reserves?the?right?to?make?changes?to?the?information?herein? for?the?improvement?of?the?design? and?performance without?further?notice! all?semiconductor?products?malfunction?or?fail?with?some?probability?under?special?conditions.?when?using?silan?products in? system? design? or? complete? machine? manufacturing,? it? is? the? responsibility? of? the? buyer? to? comply? with? the? safety standards?strictly?and?take?essential?measures?to?avoid?situations?in?which?a?malfunction?or?failure?of?such?silan?products could?cause?loss?of?body?injury?or?damage?to?property. silan?will?supply?the?best?possible?product?for?customers!


▲Up To Search▲   

 
Price & Availability of SC73P1601

All Rights Reserved © IC-ON-LINE 2003 - 2022  

[Add Bookmark] [Contact Us] [Link exchange] [Privacy policy]
Mirror Sites :  [www.datasheet.hk]   [www.maxim4u.com]  [www.ic-on-line.cn] [www.ic-on-line.com] [www.ic-on-line.net] [www.alldatasheet.com.cn] [www.gdcy.com]  [www.gdcy.net]


 . . . . .
  We use cookies to deliver the best possible web experience and assist with our advertising efforts. By continuing to use this site, you consent to the use of cookies. For more information on cookies, please take a look at our Privacy Policy. X